import { configureStore } from "@reduxjs/toolkit";
import menu from "./modules/menu";
import user from "./modules/user";

export default configureStore({
  reducer: {
    user,
    menu
  },
  middleware: getDefaultMiddleware => getDefaultMiddleware({
      //关闭redux序列化检测
      serializableCheck:false
  })
});